<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<link rel="stylesheet" type="text/css" href="/css/user.css"/>

<body>
<div id="wrap">
  <div id="header_area"><!-- top 나누어 지는 부분 -->
    <h1><a href="javascript:main();"><img src="/images/main/Main_logo.gif" alt="한국지식재산센터" width="225" height="50" border="0" /></a></h1>
    <dl>
    </dl>
  </div>
  <!-- top 나누어 지는 부분 -->
  
  <div id="MainLogin_area"><!-- center 나누어 지는 부분 -->
    <dl class="LoginTxt_box">
      <dd><img src="/images/main/Main_Title.png" width="465" height="90" alt="" /></dd>
      <dd><img src="/images/main/Main_Txt01.png" width="350" height="75" alt="" /></dd>
      <dd><img src="/images/main/Main_Txt02.png" width="535" height="60" alt="" /></dd>
      <dd><img src="/images/main/Main_Txt03.gif" width="340" height="35" alt="" /></dd>
    </dl>
    <dl class="login_box">
      <!-- 로그인 부분 -->
      <dd class="dd_none"><img src="/images/main/Main_Box_ImgTop.gif" width="718" height="20" alt="" /></dd>      
      <dd class="Login_box"><!-- 폼 부분 시작-->
       <form name="loginForm" method="post" action="/index/userLogin.desk">
        <div id="login_form">
          <dl class="login_txtform">
            <dd>
              <table border="0" cellspacing="0" cellpadding="0" summary="로그인" class="login_table">
                <colgroup><col width="60px"><col width="220px"><col width="65px"></colgroup>
                <caption>로그인</caption>
                <tr>
                  <th><img src="/images/main/Main_Box_email.gif" width="60" height="20" alt="아이디" class="png24" /></th>
                  <td><input type="text" name="userEmail" id="userEmail" style="width:210px;" tabindex="1" maxlength="40"/></td>
                  <th rowspan="2"><img src="/images/main/Main_Box_loginBtn.gif" id="btn_login" alt="로그인" width="65" height="54" border="0"  tabindex="3" style="cursor:pointer;"/></th>
                </tr>
                <tr>
                  <th><img src="/images/main/Main_Box_pass.gif" width="60" height="20" alt="비밀번호" class="png24" /></th>
                  <td><input type="password" name="userPassword" style="width:210px;" tabindex="2" maxlength="20"/></td>
                </tr>
                <tr>
                  <td colspan="3" class="IP_ADDR">* 접근 IP주소 <span class="TEXT_Blue_Bold"><%= request.getRemoteAddr()%></span> 입니다.</td>
                </tr>
              </table>
            </dd>
          </dl>
          <dl class="login_email">
            <dd><img src="/images/main/Main_Box_txt.gif" width="195" height="43" alt=""  class="png24" /><br /><a href="mailto:helpdesk@ecglobal.co.kr" target="_blank"><img src="/images/main/Main_Box_mailBtn.gif" width="178" height="23" alt="담당자에게 이메일보내기" /></a></dd>
          </dl>
        </div>
        
        <c:if test="${not empty message}">
        <div id="error_form"><!-- 에러 문구 시작-->
          <dl class="LoginTxt_box_dd"><dd><img src="/images/main/login_error_tit.gif" width="493" height="27" alt="" /></dd></dl>
          <dl class="error_text"><dd><img src="/images/main/login_error_dot.gif" alt="" width="11" height="11" align="absbottom" /><s:property value="message"/></dd></dl>
        </div><!-- 에러 문구 시작-->
        </c:if>
       </form>
      </dd> <!-- 폼 부분 끝-->     
      <dd class="dd_none"><img src="/images/main/Main_Box_ImgBottom.gif" width="718" height="25" alt="" /></dd>
    </dl>
  </div>
  <!-- 로그인 부분 -->
  
  </dl>
</div>
<!-- center 나누어 지는 부분 -->
</div>
</body>
</html>
